Fire safety is an important concern in our daily lives and it plays a special role in the human presence in space. In a spacecraft, the outside environment is hostile and the opportunity to escape is small. Rescue missions are difficult and time consuming. As a result, we should avoid the occurrence of fires in spacecraft as much as possible. If a fire occurs, we need to keep it small and under control. This implies that the materials used on board the spacecraft should be screened carefully, all the machines and devices need to be operated without accident, and fire detectors have to function properly. Once a fire is detected, it can be extinguished quickly and the cabin can be cleaned up to restore operation and sustain life.